package com.mes.code.domain;

import java.io.Serializable;
import java.util.Date;

import com.mes.common.domain.BasicModel;


public class SectionCode extends BasicModel implements Serializable {

	// Fields
	private String sectionUid;
	private String codeId;
	private String codeName;
	
	/**
	 * ���Ӷ���ӳ�� SectionCode
	 */
	private String parentUid;
	private SectionCode parentSectionCode;
	
	private String sectionType;
	private String serialNumberCodeId;
	private Date createTime;
	private String treeLabel;
	private String expression;

	public SectionCode() {
	}

	
	public String getSectionUid() {
		return sectionUid;
	}

	public void setSectionUid(String sectionUid) {
		this.sectionUid = sectionUid;
	}

	
	public String getCodeId() {
		return codeId;
	}

	public void setCodeId(String codeId) {
		this.codeId = codeId;
	}

	
	public String getCodeName() {
		return codeName;
	}

	public void setCodeName(String codeName) {
		this.codeName = codeName;
	}

	
	public String getParentUid() {
		return parentUid;
	}

	public void setParentUid(String parentUid) {
		this.parentUid = parentUid;
	}

	
	public String getSectionType() {
		return sectionType;
	}

	public void setSectionType(String sectionType) {
		this.sectionType = sectionType;
	}

	
	public String getSerialNumberCodeId() {
		return serialNumberCodeId;
	}

	public void setSerialNumberCodeId(String serialNumberCodeId) {
		this.serialNumberCodeId = serialNumberCodeId;
	}

	
	public SectionCode getParentSectionCode() {
		return parentSectionCode;
	}

	public void setParentSectionCode(SectionCode parentSectionCode) {
		this.parentSectionCode = parentSectionCode;
	}

	
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	
	public String getTreeLabel() {
		return treeLabel;
	}

	public void setTreeLabel(String treeLabel) {
		this.treeLabel = this.codeId + "(" + this.codeName + ")";
	}

	
	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}
	
}